package cn.agiledata.bank.tel.service;

import com.vnv.infrastructure.email.helper.Queue;


public class TelCallServiceImpl implements ITelCallService{
	
	private Queue queue;
	public void init(){
		queue =Queue.getInstence();
	}

	public Object getTelData(){
		return queue.deq();
	}

	public void putTelData(Object o){
		queue.enq(o);
	}

	public boolean empty(){
		return queue.empty();
	}
}
